package edu.dayu.responsibility;

public class Test {
    public static void main(String[] args) {
        GroupLeader leader = new GroupLeader();
        Manager manager = new Manager();
        leader.setNextHandler(manager);
        if (leader.handle(3000)){
            System.out.println("谢谢领导");
        }else {
            System.out.println("巧妇难为无米之炊，只能划船了...");
        }
        //3000超出组长范围
        //小于5000块，我这个经理可以决定：同意！
        //谢谢领导
    }
}
